package cn.edu.xmu.oomall.liquidation.microservice;

import cn.edu.xmu.privilegegateway.annotation.util.InternalReturnObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "customer-service")
public interface CustomerService {
    @PutMapping("/internal/addcustomerpoint/{id}")
    InternalReturnObject addCustomerPoint(@PathVariable("id") Long id, @RequestParam Long point);
}
